/*
 * Copyright 2009 Jinbo Lin. All rights reserved.
 * 
 * cn.edu.pku.model OfficeAutomation
 *
 * Created on 2009-12-25
 */
package cn.edu.pku.model;

import java.util.Date;

/**
 * @author Jinbo Lin
 * 
 * 
 */
public class Dept implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5217461389587797392L;
	private int deptId = 0;
	private String deptName = null;
	private int capacity = 0;
	private User manager = null;
	private User creator = null;
	private Date dateTime = null;
	private User auditor = null;
	private String audit = null;
	private Date auditDateTime = null;
	private String removed = null;
	private String remark = null;

	/**
	 * @return the deptId
	 */
	public int getDeptId() {
		return this.deptId;
	}

	/**
	 * @param deptId
	 *            the deptId to set
	 */
	public void setDeptId(int deptId) {
		this.deptId = deptId;
	}

	/**
	 * @return the deptName
	 */
	public String getDeptName() {
		return this.deptName;
	}

	/**
	 * @param deptName
	 *            the deptName to set
	 */
	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	/**
	 * @return the capacity
	 */
	public int getCapacity() {
		return this.capacity;
	}

	/**
	 * @param capacity
	 *            the capacity to set
	 */
	public void setCapacity(int capacity) {
		this.capacity = capacity;
	}

	/**
	 * @return the manager
	 */
	public User getManager() {
		return this.manager;
	}

	/**
	 * @param manager
	 *            the manager to set
	 */
	public void setManager(User manager) {
		this.manager = manager;
	}

	/**
	 * @return the creator
	 */
	public User getCreator() {
		return this.creator;
	}

	/**
	 * @param creator
	 *            the creator to set
	 */
	public void setCreator(User creator) {
		this.creator = creator;
	}

	/**
	 * @return the dateTime
	 */
	public Date getDateTime() {
		return this.dateTime;
	}

	/**
	 * @param dateTime
	 *            the dateTime to set
	 */
	public void setDateTime(Date dateTime) {
		this.dateTime = dateTime;
	}

	/**
	 * @return the auditor
	 */
	public User getAuditor() {
		return this.auditor;
	}

	/**
	 * @param auditor
	 *            the auditor to set
	 */
	public void setAuditor(User auditor) {
		this.auditor = auditor;
	}

	/**
	 * @return the audit
	 */
	public String getAudit() {
		return this.audit;
	}

	/**
	 * @param audit
	 *            the audit to set
	 */
	public void setAudit(String audit) {
		this.audit = audit;
	}

	/**
	 * @return the auditDateTime
	 */
	public Date getAuditDateTime() {
		return this.auditDateTime;
	}

	/**
	 * @param auditDateTime
	 *            the auditDateTime to set
	 */
	public void setAuditDateTime(Date auditDateTime) {
		this.auditDateTime = auditDateTime;
	}

	/**
	 * @return the removed
	 */
	public String getRemoved() {
		return this.removed;
	}

	/**
	 * @param removed
	 *            the removed to set
	 */
	public void setRemoved(String removed) {
		this.removed = removed;
	}

	/**
	 * @return the remark
	 */
	public String getRemark() {
		return this.remark;
	}

	/**
	 * @param remark
	 *            the remark to set
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	/**
	 * 
	 */
	public Dept() {
	}

	/**
	 * @param deptId
	 * @param deptName
	 * @param capacity
	 * @param manager
	 * @param creator
	 * @param dateTime
	 */
	public Dept(int deptId, String deptName, int capacity, User manager,
			User creator, Date dateTime) {
		super();
		this.deptId = deptId;
		this.deptName = deptName;
		this.capacity = capacity;
		this.manager = manager;
		this.creator = creator;
		this.dateTime = dateTime;
	}

	/**
	 * @param deptId
	 * @param deptName
	 * @param capacity
	 * @param manager
	 * @param creator
	 * @param dateTime
	 * @param auditor
	 * @param audit
	 * @param auditDateTime
	 * @param removed
	 * @param remark
	 */
	public Dept(int deptId, String deptName, int capacity, User manager,
			User creator, Date dateTime, User auditor, String audit,
			Date auditDateTime, String removed, String remark) {
		super();
		this.deptId = deptId;
		this.deptName = deptName;
		this.capacity = capacity;
		this.manager = manager;
		this.creator = creator;
		this.dateTime = dateTime;
		this.auditor = auditor;
		this.audit = audit;
		this.auditDateTime = auditDateTime;
		this.removed = removed;
		this.remark = remark;
	}
	
}
